/* 虚拟环境管理页面样式 */
.create-venv-section {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.venv-list {
    margin-top: 30px;
}

.venv-item {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.venv-info {
    margin-bottom: 20px;
}

.venv-info h4 {
    color: #2196F3;
    margin: 0 0 10px 0;
}

.venv-info p {
    color: #666;
    margin: 5px 0;
}

.package-section {
    background-color: #f8f9fa;
    border-radius: 4px;
    padding: 15px;
    margin: 15px 0;
}

.package-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.package-header h5 {
    margin: 0;
    color: #333;
}

.package-actions {
    display: flex;
    gap: 10px;
}

.package-input {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 200px;
}

.package-list {
    max-height: 200px;
    overflow-y: auto;
}

.package-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #eee;
}

.package-item:last-child {
    border-bottom: none;
}

.install-btn {
    background-color: #4CAF50;
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.install-btn:hover {
    background-color: #45a049;
}

.uninstall-btn {
    background-color: #f44336;
    color: white;
    padding: 4px 8px;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
}

.uninstall-btn:hover {
    background-color: #d32f2f;
}

.venv-actions {
    margin-top: 20px;
    text-align: right;
}

.no-venv {
    text-align: center;
    color: #666;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

/* 状态消息样式 */
.status-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    border-radius: 4px;
    color: white;
    display: none;
    z-index: 1000;
}

.status-message.success {
    background-color: #4CAF50;
}

.status-message.error {
    background-color: #f44336;
} 